package com.api.service;

import com.api.mapper.TMerchantTagMapper;
import com.api.model.TTag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by PC on 2017/7/10.
 */
@Service
public class MerchantTagService extends BaseService {
    @Autowired
    private TMerchantTagMapper merchantTagMapper;

    @Autowired
    public void setMerchantTagMapper(TMerchantTagMapper merchantTagMapper) {
        this.merchantTagMapper = merchantTagMapper;
        super.baseMapper = merchantTagMapper;
    }

    public List<TTag> getTagList(Map<String, Object> params) {
        return merchantTagMapper.getTagList(params);
    }
}
